package com.smart.community.user.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 权限DTO
 *
 * @author Wu.Liang
 * @since 2025-07-05
 */
@Data
public class PermissionDTO {

    private Long id;

    @NotBlank(message = "权限名称不能为空")
    private String permissionName;

    @NotBlank(message = "权限编码不能为空")
    private String permissionCode;

    private String type;

    private String description;

    @NotNull(message = "状态不能为空")
    private Integer status;

    private Integer sortOrder;

    private Long parentId;

    private String icon;

    private String path;

    private String component;

    private Integer isMenu;

    private Integer isVisible;
} 